package cn.m1c.cntt.wuhan2020.cnttlifegoods.order.dao

import cn.m1c.cntt.wuhan2020.cnttlifegoods.order.vo.OrderBuyerGoodsVo
import cn.m1c.cntt.wuhan2020.cnttlifegoods.order.vo.OrderBuyerVo
import cn.m1c.cntt.wuhan2020.cnttlifegoods.order.vo.OrderVo
import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.stereotype.Repository

@Repository
interface OrderBuyerRepository : MongoRepository<OrderBuyerVo, String> {
    fun findOrderBuyerVoByUserIdAndOrderId(userId:String,orderId:String):List<OrderBuyerVo>
}